﻿using EquipmentModule.Entity;
using EquipmentModule.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EquipmentModule.Contracts
{
    public interface ISectionService
    {
        IEnumerable<Section> Index(string dbStr=null);

        void Add(SectionViewModel4Add info, string dbStr = null);

        void Del(Guid id,string dbStr= null);
        IEnumerable<Section> IndexEquipment(string dbStr=null);
        Section Index(Guid id, string db);
    }
}
